package com.ibeeking.gateway.open.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.http.server.reactive.ServerHttpRequest;

/**
 * @ClassName IResourceService
 * @Description 资源
 * @Author ibeeking
 * @Date 2020-12-14 10:32
 **/
public interface IResourceService {

    /**
     * 校验API
     *
     * @param token
     * @param path
     * @param request
     * @return
     */
    Boolean checkApi(JSONObject token,String path, ServerHttpRequest request);
}
